<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 19-4-4
 * Time: 上午9:28
 */

namespace common\models;


use common\components\huaxiayinhang\Config;

class NbrbRequestLog extends \common\models\base\NbrbRequestLog
{
    public function generateRequestSeqNo()
    {
        $this->request_seq_no = "Picc".Config::$xmbm.time().rand(100000, 999999);
        if (self::findOne(['request_seq_no' => $this->request_seq_no, 'resp_success' => "Y"])){
            $this->generateRequestSeqNo();
        }
    }
}